<div class="pad-10" >
    
    <div class="navigate">
		<h1>网站平台列表</h1>

            <span class="ui-button ui-button-morange fr">
                    <a class="ui-button-text fr" href="/index.php/Admin/Plantform/add">网站平台添加</a>
            </span>
  	</div>
  	

    <div class="table-list">
    <table width="100%" cellspacing="0">
        <thead>
            <tr>
                <th style="font-size:12px;">网站平台编号</th>
                <th>网站平台名称</th>
                <th>网站平台代码</th>
                <th>网站平台URL</th>
                <th>状态</th>
                <th>操作</th>
            </tr>
        </thead>
    	<tbody>
        <volist name="plantforms" id="p" >
        <tr>
        	<td align="center">{$p.plantform_id}</td>
            <td align="center">
            	<a href="{$p.plantform_url}" target="_blank">
            	{$p.plantform_name}
            	</a>
            </td>
            <td align="center">{$p.plantform_code}</td>
            <td align="left">
	            <a href="{$p.plantform_url}" target="_blank">
	            	{$p.plantform_url}
	            </a>
            </td>      
            <td align="center">
	            <if condition="$p.disabled eq 1">
					<span class="color-red">禁用</span>
				<else />
					<span class="color-green">启用</span>
				</if>
            </td>    
            <td align="center">
            	<a href="/index.php/Admin/Plantform/detail?id={$p.plantform_id}" target="_self">编辑</a>
            </td>
        </tr>
        </volist>
    	</tbody>
    </table>

    </div>
    
</div>
